package com.skyjing.rvdadapter

import androidx.databinding.ViewDataBinding
import androidx.recyclerview.widget.RecyclerView
import android.view.View


class ViewHolder<T : ViewDataBinding>(itemView: View) : RecyclerView.ViewHolder(itemView){
    lateinit var t : T
    constructor(binding: ViewDataBinding):this(binding.root){
        t = binding as T
    }
}